//
// 嗨~ o(*￣▽￣*)ブ
// Created by Mokou on 2020/9/22.
//


/**
 * 设备
 * */
@interface ElecDevice : NSObject

@property (nonatomic, copy) NSString *box_sn;
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *device_name;
@property (nonatomic, copy) NSString *mac;
@property (nonatomic, copy) NSString *soft_version;
@property (nonatomic, assign) NSInteger net_type;
@property (nonatomic, copy) NSString *ap_user_name;
@property (nonatomic, copy) NSString *ap_passwd;

- (instancetype)init:(NSDictionary *)data;
- (NSDictionary *)getDict;

+ (BOOL)store:(NSDictionary *)data;
+ (BOOL)delete:(NSDictionary *)data;
+ (void)clear:(NSDictionary *)data;
+ (NSDictionary *)query:(NSDictionary *)data;

@end